package com.zh.equipment.dao;


import com.zh.equipment.domain.EquipmentDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 设备绑定
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-02-22 17:31:38
 */
@Mapper
public interface EquipmentDao {

	EquipmentDO get(String id);
	
	List<EquipmentDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(EquipmentDO equipment);
	
	int update(EquipmentDO equipment);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	List<EquipmentDO> select(EquipmentDO equipmentDO);
}
